
/*
This is a UI file (.ui.qml) that is intended to be edited in Qt Design Studio only.
It is supposed to be strictly declarative and only uses a subset of QML. If you edit
this file manually, you might introduce QML code that is not supported by Qt Design Studio.
Check out https://doc.qt.io/qtcreator/creator-quick-ui-forms.html for details on .ui.qml files.
*/
import QtQuick 2.15
import QtQuick.Controls 2.15

GridView {
    id: cradGridView
    clip: true
    cellWidth: 250
    cellHeight: 250

    children: [
        Rectangle {
            color: "#1d1d1d"
            anchors.fill: parent
            z: -1
        }
    ]

    model: CardGridViewModel {}

    highlight: Rectangle {
        color: "#020202"
        radius: 5
        width: 250
        height: 250
        border.color: "#0d52a4"

        //        CButton {
        //            id: detailBtn
        //            anchors.top: parent.top
        //            width: parent.width
        //            height: parent.height / 3
        //            text: "详情"
        //        }
        //        CButton {
        //            id: castBtn
        //            anchors.top: detailBtn.bottom
        //            width: parent.width
        //            height: parent.height / 3
        //            text: "消费"

        //        }
        //        CButton {
        //            anchors.top: castBtn.bottom
        //            width: parent.width
        //            height: parent.height  / 3
        //            text: "添加"

        //        }
    }

    delegate: CardGridViewDelegate {}
}

/*##^##
Designer {
    D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
